package cn.glutnn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.glutnn.entity.Orders;

import java.util.List;
import java.util.Map;


/**
 * 订单表(Orders)表服务接口
 *
 * @author msh
 * @since 2024-12-12 16:54:12
 */
public interface OrdersService extends IService<Orders> {

    Integer addOrder(Orders orders);

    /**
     * 更新订单状态
     * @param orderId 订单ID
     * @param status 订单状态
     * @param paymentMethodId 支付方式ID
     * @param daId 配送地址ID
     */
    void updateOrderStatus(String orderId, String status, Integer paymentMethodId, Integer daId);

}

